// src/pages/Home/router/ContentRoute.js
import React from 'react';
import {Route, Routes} from 'react-router-dom';
import UserList from '@/pages/Home/UserManagement/UserList';
import DepartmentTree from '@/pages/Home/DepartmentManagement/DepartmentTree';
import RoleList from '@/pages/Home/RoleManagement/RoleList';
import DataSourceManagement from '@/pages/Home/DataSourceManagement';
import ContentDistribution from '@/pages/Home/ContentDistribution';
import SystemOperations from '@/pages/Home/SystemOperations';
import MetadataDrivenDataManagement from '@/pages/Home/MetadataDriven/DataManagement';
import PermissionOverview from "@/pages/Home/PermissionOverview";

const ContentRoute = () => {
    return (
        <Routes>
            <Route path="/user-management" element={<UserList/>}/>
            <Route path="/department-management" element={<DepartmentTree/>}/>
            <Route path="/role-management" element={<RoleList/>}/>
            <Route path="/data-source" element={<DataSourceManagement/>}/>
            <Route path="/content-distribution" element={<ContentDistribution/>}/>
            <Route path="/system-operations" element={<SystemOperations/>}/>
            <Route path="/metadata-driven" element={<MetadataDrivenDataManagement/>}/>
            <Route path="/permission-overview" element={<PermissionOverview/>}/>/>
            <Route path="/" element={<div>欢迎使用管理系统</div>}/>
        </Routes>
    );
};

export default ContentRoute;
